home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11364 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  793 b 

  1. Path: ix.netcom.com!news
  2. From: miker3@ix.netcom.com (Mike Rubenstein)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Float to String
  5. Date: Sat, 23 Mar 1996 13:19:48 GMT
  6. Organization: Netcom
  7. Message-ID: <3153fa2a.258925895@nntp.ix.netcom.com>
  8. References: <4is29s$h1a@dfw-ixnews6.ix.netcom.com> <4j0m8a$1mem@darkwing.cadvision.com>
  9. NNTP-Posting-Host: ix-dc9-01.ix.netcom.com
  10. X-NETCOM-Date: Sat Mar 23  7:20:01 AM CST 1996
  11. X-Newsreader: Forte Agent .99d/32.182
  12.  
  13. douglasd@cadvision.com (Doran Douglas) wrote:
  14.  
  15. > scoshe@ix.netcom.com(Christopher Scott Shelton ) wrote:
  16. > >Is it possible to convert a float to a string?  like the itoa function.
  17. > try strcpy 'ing the float to a string array
  18. > eg strcpy(string, float_variable_name);
  19.  
  20. Why should he try something that is illegal in C?
  21.  
  22. Michael M Rubenstein
  23.